package com.hospital.demo.mapper.jiajinpeng;


import com.hospital.demo.model.jiajinpeng.Beds;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BedsMapper {

    List<Beds> selectAllbeds();

    List<Beds> selectBystate(@Param("state") String state);

    int insertBed(Beds beds);

    int updateBed(Beds beds);
}
